package valutatore;

import java.util.ArrayList;

public class Prog {
	
	private final Fun fun;

	public Prog(Fun fun) {
		this.fun = fun;
	}

	public Value eval() {
		return new InvokeExpr(fun, new Args(new ArrayList<Expr>())).eval(new Env(null, new Frame(new ArrayList<Ident>(), new ArrayList<Ident>(), new ArrayList<Value>())));
	}

}
